import { defineStore } from 'pinia'

export const useAuthStore = defineStore({
  id: 'auth',
  state: () => ({
    token: '',
    refreshToken: '',
  }),
  actions: {
    setToken(payload) {
      this.token = payload
    },
  },
})
